-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DRPLDCX-99 Collections #41
Conversation
public function getPreview($id) { | ||
$json = NULL; | ||
|
||
if ($params == NULL) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$params is always undefined
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True. It's safe to remove the if clause.
'q' => [ | ||
'_mode' => 'my_usertags', | ||
'type_id' => 'usertagtype-default', | ||
'parent_id#NULL' => $parent_id, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$parent_id is always undefined
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refering to the docs Thorsten Behn sent me $parent_id is supposed to be an empty string. Just replace it with "".
I have created a 8.x-2.x into module-dcx-integration for D8.2 compatibility. I have also updated the staging env. So please use the dcx branch of https://github.com/BurdaMagazinOrg/project-dcx-integration |
60f28e8
to
821eede
Compare
This integrate DC-X collections on the entity browser for images.
It only provides "own" collections, as the DC-X API only supports these atm.
The process is rather complicated as there is a lot of communication with DC-X involved:
STR: